from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains

dirver_path = r"C:\Program Files (x86)\Google\Chrome\Application\chromedriver.exe"
driver = webdriver.Chrome(executable_path=dirver_path)
driver.get("https://www.baidu.com")

submitBtn = driver.find_element_by_id('su')
print(submitBtn.get_attribute('value'))
driver.save_screenshot('baidu.png')